@import 'src/style/variable';

.backButton {
  margin-bottom: 10px;
}

.headingBlock {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  .buttons {
    display: flex;
    flex-direction: row;
    gap: 12px;
    justify-content: flex-end;
  }
}

.heading {
  font-size: 28px;
  font-weight: bold;
  margin-top: 10px;

  @media (min-width: $small) {
    font-size: 32px;
    margin-top: 20px;
  }
}

.filterBlock {
  position: relative;

  @media (min-width: $xsmall) {
    display: flex;
    justify-content: space-between;
    column-gap: 25px;
    flex-wrap: wrap;
  }
}

.filterBlockLeft {
  display: flex;
  flex-direction: column;

  @media (min-width: $xsmall) {
    display: flex;
    flex-direction: row;
    gap: 15px;
  }
}

.statusFilter {
  width: fit-content;
  margin-bottom: 15px;
}

.sortingFilter {
  position: absolute;
  right: 0px;
  bottom: 0px;
  margin-bottom: 15px;

  @media (min-width: $xsmall) {
    position: initial;
  }
}

.orderBlock {
  padding: 25px 15px;
  border-radius: 4px;
  background-color: var(--property-detail-transaction-background);
  margin-top: 15px;
  font-size: 14px;

  @media (min-width: $medium) {
    padding: 25px 40px;
  }

  .emptyImg {
    text-align: center;
  }

  .divider {
    height: 1px;
    background-color: var(--divider);
  }
}

.pagination {
  display: flex;
  flex-direction: row-reverse;
  margin-top: 15px;
}
